package com.tsintergy.tmosguide.datamng.feignapi;

import com.tsieframework.core.base.web.BaseResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 拷贝${link SpringCloudProviderController}的方法声明和{@link RequestMapping}注解
 */
//value为服务提供者的应用名
@FeignClient("quickstart")
@RequestMapping("/api/cloud")
public interface SpringCloudProviderApi {

    @RequestMapping(value = "/sayHello", method = RequestMethod.GET)
    BaseResp<String> sayHello();

}
